package com.tengju.bff.interfaces.shared.servlet;

import com.tengju.user.domain.model.user.Staff;
import com.tengju.user.domain.model.user.StaffId;

public class ManageUtil {

    public static Staff getOperateUser() {
        UserServletContext servletContext = ServletContextUtil.getServletContext();
        StaffId staffId = servletContext.getStaffId();
        String realName = servletContext.getRealName();
        Staff staff = new Staff(staffId,realName);
        return staff;
    }
}
